<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
$(document).ready(function(){
    $(".menuVertical").click(function(event) {
    	$('#leftcolumn').load('homemenu.jsp');
        $('#rightcolumn').load('ContentController',{contentView: $(this).attr('id')});
   	});
});
</script>
</head>
<body>
<div class="menuVertical">
<%if (session.getAttribute("contentView") == null){%>
No hi ha sessio
<%} else { %>
<ul>
<li><a href="javascript:void(0);" id="TweetController" class="menuVertical<%if (session.getAttribute("contentView").equals("TweetController")) out.print(" selected"); %>">Tweets</a></li>
<li><a href="javascript:void(0);" id="ProfileController" class="menuVertical<%if (session.getAttribute("contentView").equals("ProfileController")) out.print(" selected"); %>">Profile</a></li>
	<li><a href="javascript:void(0);" id="FollowingController" class="menuVertical<%if (session.getAttribute("contentView").equals("FollowingController")) out.print(" selected"); %>">Following</a></li>
	<li><a href="javascript:void(0);" id="FollowersController" class="menuVertical<%if (session.getAttribute("contentView").equals("FollowersController")) out.print(" selected"); %>">Followers</a></li>
	<li><a href="javascript:void(0);" id="ContactsController" class="menuVertical<%if (session.getAttribute("contentView").equals("ContactsController")) out.print(" selected"); %>">Contacts</a></li>
</ul>
<%} %>
</div>
</body>
</html>